package org.apache.rocketmq.console.script.dao;

import java.util.List;

import org.apache.rocketmq.console.script.model.EnvironDic;
import org.springframework.data.repository.CrudRepository;

public interface EnvironDicDao extends CrudRepository<EnvironDic, Integer> {
	List<EnvironDic> findById(int id);

	List<EnvironDic> findAll();

	EnvironDic findOneByRegionCodeAndEnviroCode(String regionCode, String enviroCode);

	List<EnvironDic> findByRegionCode(String regionCode);

	EnvironDic findOneByNameserverLike(String nameserver);
}
